package com.dc.gameserver.serverCore.model.dbsql.mapper;

import com.dc.gameserver.serverCore.model.dbsql.modelVo.TRoleBook;
import com.dc.gameserver.serverCore.model.dbsql.modelVo.TRoleBookExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TRoleBookMapper {
    int countByExample(TRoleBookExample example);

    int deleteByExample(TRoleBookExample example);

    int deleteByPrimaryKey(Integer bookid);

    int insert(TRoleBook record);

    int insertSelective(TRoleBook record);

    List<TRoleBook> selectByExample(TRoleBookExample example);

    TRoleBook selectByPrimaryKey(Integer bookid);

    int updateByExampleSelective(@Param("record") TRoleBook record, @Param("example") TRoleBookExample example);

    int updateByExample(@Param("record") TRoleBook record, @Param("example") TRoleBookExample example);

    int updateByPrimaryKeySelective(TRoleBook record);

    int updateByPrimaryKey(TRoleBook record);
}